public class exam {
    public static void main(String[] args) {

        Student student1 = new Student("szz",100,5332);
        Student student2 = new Student("aaa",33,5331);
        Student student3 = new Student("bbb",100,5330);

        System.out.println(student1.equals(student2));
        System.out.println(student1.equals(student3));
    }
}